extends HBoxContainer


# Called when the node enters the scene tree for the first time.
func 返回界面(界面名称:String):
	$"../..".切换面板(界面名称)


func _on_任务_toggled(toggled_on: bool) -> void:
	if toggled_on == true:
		返回界面("任务")



func _on_背包_toggled(toggled_on: bool) -> void:
	if toggled_on == true:
		返回界面("背包")



func _on_技能_toggled(toggled_on: bool) -> void:
	if toggled_on == true:
		返回界面("技能")



func _on_其他_toggled(toggled_on: bool) -> void:
	if toggled_on == true:
		返回界面("其他")


func _on_武器_toggled(toggled_on: bool) -> void:
	if toggled_on == true:
		返回界面("武器")
	pass # Replace with function body.
